Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var e = require("../@babel/runtime/helpers/classCallCheck"), r = require("../@babel/runtime/helpers/createClass"), t = require("../@babel/runtime/helpers/inherits"), u = require("../@babel/runtime/helpers/createSuper"), s = function(s) {
    t(a, s);
    var n = u(a);
    function a() {
        return e(this, a), n.apply(this, arguments);
    }
    return r(a, [ {
        key: "register",
        value: function(e) {
            return this.request({
                url: "/ums/member/phoneLogin",
                data: e,
                method: "post"
            });
        }
    }, {
        key: "getUmsMemberInfo",
        value: function() {
            return this.request({
                url: "/ums/member/getUmsMemberInfo",
                method: "post"
            });
        }
    }, {
        key: "updateUser",
        value: function(e) {
            return this.request({
                url: "/ums/member/wxUpdateMemberInfo",
                data: e,
                method: "post"
            });
        }
    }, {
        key: "weChatVip",
        value: function() {
            return this.request({
                url: "/ums/member/getWxMemberCardInfo"
            });
        }
    }, {
        key: "getOpenId",
        value: function(e) {
            return this.request({
                url: "/ums/member/getMemberOpenId",
                data: e
            });
        }
    }, {
        key: "conrrectUserInfo",
        value: function(e) {
            return this.request({
                url: "/ums/member/updateUmsPersonalInfo",
                data: e,
                method: "put"
            });
        }
    }, {
        key: "avatarList",
        value: function() {
            return this.request({
                url: "/ums/member/getAvatarList"
            });
        }
    }, {
        key: "otherUserInfo",
        value: function() {
            return this.request({
                url: "/ams/couponHistory/getCardBagCount"
            });
        }
    } ]), a;
}(require("./_http").HTTP);

exports.default = s;